package com.station.administrators.fegin;

        import com.open.capacity.common.entity.RegionModel;
        import org.springframework.cloud.openfeign.FeignClient;
        import org.springframework.cloud.openfeign.SpringQueryMap;
        import org.springframework.stereotype.Component;
        import org.springframework.web.bind.annotation.GetMapping;
        import org.springframework.web.bind.annotation.RequestBody;
        import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author YangGang
 * @Title:
 * @Description: TODO
 * @date 2021/6/28/10:26
 */
        @Component
        @FeignClient(value = "door-center",path = "/region")
        public interface RegionFegin {
        @GetMapping("/findProvince")
        Object findProvince();

        @GetMapping(value = "/findLow")
        Object findLow (@SpringQueryMap RegionModel regionModel);
        }
